#include "stdafx.h"
#include "NCUGenomeSet.h"
NCUGenomeSet::NCUGenomeSet()
{
}
NCUGenomeSet::NCUGenomeSet(const double sillUp,
						   const double sillLow, unsigned int ventLen,
						   unsigned int sillLen): 
m_vent(ventLen), m_sill(sillUp, sillLow, sillLen)
{
}
NCUGenomeSet::NCUGenomeSet(const NCUGenomeSet &rhs):
m_vent(rhs.m_vent), m_sill(rhs.m_sill)
{
}
NCUGenomeSet& NCUGenomeSet::operator=(const NCUGenomeSet &rhs)
{
	if ( this != &rhs )
	{
        m_vent = rhs.m_vent;
        m_sill = rhs.m_sill;
	}
	return (*this);
}
NCUGenomeSet::~NCUGenomeSet()
{
	// do nothing
}
void NCUGenomeSet::SillUpper(const double value)
{
	m_sill.upper(value);
}
double NCUGenomeSet::SillUpper() const
{
	return m_sill.upper();;
}

void NCUGenomeSet::SillLower(const double value)
{
	m_sill.lower(value);
}
double NCUGenomeSet::SillLower() const
{
	return m_sill.lower();
}
void NCUGenomeSet::VentLength(const unsigned int num)
{
	m_vent.length(num);
}
unsigned int NCUGenomeSet::VentLength() const
{
	return m_vent.length();
}

void NCUGenomeSet::SillLength(const unsigned int num)
{
	m_sill.length(num);
}
unsigned int NCUGenomeSet::SillLength() const
{
	return m_sill.length();
}
unsigned int NCUGenomeSet::VentPrecision(const double acu)
{
	return m_vent.precision(acu);
}
double NCUGenomeSet::VentPrecision() const
{
	return m_vent.precision();
}
unsigned int  NCUGenomeSet::SillPrecision(const double acu)
{
	return m_sill.precision(acu);
}

double NCUGenomeSet::SillPrecision() const
{
	return m_sill.precision();
}

const GenomeType& NCUGenomeSet::GetSillGenome() const
{
	return m_sill;
}
const GenomeType& NCUGenomeSet::GetVentGenome() const
{
	return m_vent;
}